#include<stdio.h>

extern int tnum1;
int n =1000;
int m;

int test1(void);
void test(void);

int main()
{
	test();
	test();
	printf("\n\n\n");
	
	printf("tnum1:%d, 地址：%p\n", tnum1, &tnum1);
	printf("n:%d, 地址%p\n", n, &n);
	printf("m:%d, 地址%p\n", m, &m);
	test1();

	

	return 0;
}

void test(void){

	static int num1 = 0;
	static int num2 = 1;
	int num3 = 0;

	num1 += 1;
	num2 += 2;

	printf("num3:%d, 地址num3:%p\n", num3, &num3);
	printf("num1:%d, num2:%d\n", num1, num2);
	printf("地址num1:%p,地址：num2%p\n", &num1, &num2);

	return;
}

